<div md-theme="default">
  <h2>NgSwitch demo</h2>

  <md-switch (^click)="increment()">Normal switch</md-switch>
  <md-switch class="md-primary" (^click)="increment()">Primary switch</md-switch>
  <md-switch disabled (^click)="increment()">Disabled switch</md-switch>

  <p>Toggle count: {{toggleCount}}</p>
</div>
